package mortal.mvc.core
{
	import flash.events.*;
	
	public class Dispatcher extends Object
	{
		private static var dispatcher:IEventDispatcher = new EventDispatcher();
		
		public function Dispatcher()
		{
			
		}
		
		public static function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = false) : void
		{
			dispatcher.addEventListener(param1, param2, param3, param4, param5);
			
		}
		
		public static function removeEventListener(param1:String, param2:Function, param3:Boolean = false) : void
		{
			dispatcher.removeEventListener(param1, param2, param3);
			
		}
		
		public static function dispatchEvent(event:Event) : Boolean
		{
			return dispatcher.dispatchEvent(event);
		}
		
		public static function hasEventListener(param1:String) : Boolean
		{
			return dispatcher.hasEventListener(param1);
		}
		
	}
}
